thread    = 2
bootstrap = "snlua bootstrap"

harbor    = 0
logservice = "ddlogger"
logger    = "./log/test.log"
daemon    = nil--"./log/test.pid"
start     = "test"
profile   = false

if not dd_skynet then
    dd_skynet = ""--"dd_skynet/"
end
local function concat_ddpath(args)
    local r = ''
    for i = 1, # args do
        r = r .. ';' .. dd_skynet .. args[i]
    end
    return r .. ";"
end

lualoader  = dd_skynet .. "skynet/lualib/loader.lua"
cpath     = concat_ddpath {
    "skynet/cservice/?.so",
    "cservice/?.so",
    "luaclib/?.so",
}

luaservice = concat_ddpath {
  "skynet/service/?.lua",
  "service/?.lua",
}

lua_path   = concat_ddpath {
  "skynet/lualib/?.lua",
  "skynet/lualib/compat10/?.lua",
  "lualib/?.lua",
  "service/?.lua",
}

lua_cpath  = concat_ddpath {
  "skynet/luaclib/?.so",
  "luaclib/?.so",
  "cservice/?.so",
}
